package com.china.bike.service;

import com.china.bike.entity.BikeAccount;
import com.china.bike.entity.User;

import java.math.BigDecimal;

public interface BikeAccountService {

    BikeAccount getUserAccount(Long userId);

    void recordUseBike(BikeAccount bikeAccount);

    void chargeMoney(BigDecimal charge, User user);
}
